package com.shycloud.mido.member.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author Xiaoxing Yu
 * @date 2020/9/23
 **/
@Data
@TableName("sm_member_order_detail")
@EqualsAndHashCode(callSuper = true)
public class MemberOrderDetail extends Model<MemberOrderDetail> {

	private static final long serialVersionUID = -1909979297199763635L;
	/** 自增主键 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/** 订单编号 */
	private Long orderNo;
	/** 关联套餐ID */
	private Integer comboId;
	/** 关联套餐数量 */
	private Integer comboCount;
	/** 关联商品ID */
	private Integer goodsId;
	/** 关联商品数量 */
	private Integer goodsCount;

}
